<div id="root"></div>

<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script>
  // 基于react库 创建虚拟DOM
  const h1 = React.createElement("h1", null, "hello webopenfather");

  console.log(h1);
  // 基于react-dom渲染
  ReactDOM.render(h1, document.querySelector("#root"));
  // 渲染范围
</script>
